<?php
// конфиг
class conf
{
    public static $api_secret = 'GbsN9NP3yykBDdIybHpj';
    public static $api_id = '2225750';
    public static $db = array('ljrate.ru','root','2912','balans');


	//game
	public static $platform_space = 50;
	public static $platform_width = 300;
	public static $platform_y = 200;

	public static $platform_falling_speed = 200; // при перевесе в 100%

	public static $speed_normal = 20;
	public static $speed_jump = 20;
	public static $speed_platform = 10;
	public static $jump_implulse = 100;

	public static $overtime_period = 10;

	public static $player_width = 45;

	public static $round_money = 100;


	/* пикселов/(сек*сек) */
	public static $gravity = -100;

	//user
	public static $default_money = 100;
	public static $default_exp = 1;

	public static function getClientConfig()
	{
		$c = array(
		'platform_falling_speed'=>conf::$platform_falling_speed,
		'speed_normal' => conf::$speed_normal,
		'speed_jump' => conf::$speed_jump,
		'player_width' => conf::$player_width,
		'overtime_period' => conf::$overtime_period,
		'jump_implulse'=>$jump_implulse,
	);
		return $c;
	}
 }
?>